<script src="MooTools-Core-1.6.0.js"></script>
<script src="pinyin.js"></script>
<script type="text/javascript">
var pinyin = new Pinyin();
alert(pinyin.getCamelChars("我是小写的拼音").toLowerCase());
</script>